<?php
/**
 * Smart Library - Smart Framework
 * http://smart-framework.highet.eu
 *
 * @category   SmartL
 * @package    SmartL_Profiler
 * @subpackage Custom
 * @copyright  Copyright (c) 2005-2008 Smart Framework team - Stepan Sindelar, Vojtech Vit
 * @license    http://www.opensource.org/licenses/bsd-license.php	New BSD License
 */

/**
 * This defines interface of custom class which has some profile output.
 * If this class is registered in SmartL_Profiler trought method addCustomProfiler,
 * it's output will be in whole profiler's output.
 * 
 * @package SmartL_Profiler
 * @subpackage Custom
 */
interface SmartL_Profiler_Custom_Interface {
	/**
	 * Returns name of profiler's section.
	 *
	 * @return string
	 */
	public function getName();
	
	/**
	 * Returns profiler result - output in html.
	 *
	 * @return string
	 */
	public function getResult();
}